package com.risenb.service;

import java.util.List;

import com.risenb.bean.Role;

/**
 * 角色
 * 
 * @author risenb-java001
 *
 */
public interface RoleService {
	
	int removeRoleById(Integer id);

	int createRole(Role record);

	Role queryRoleById(Integer id);

	int modifyRoleById(Role record);

	List<Role> queryAll(Role role);

	/**
	 * 批量删除
	 * 
	 * @param ids
	 * @return
	 */
	int removeRoleByIds(List<String> ids);
}
